/*
 * chat_config.c
 *
 *  Created on: 2012-6-26
 *      Author: rendong
 */
#include "chat_config.h"
#include <stdio.h>

int cfg_port = 8000;
char * cfg_local_addr = "0.0.0.0";
int cfg_is_daemon = 0;

int cfg_maxclients = 102400;
int cfg_maxchannels = 255;
int cfg_maxconntime = 10;// 10 秒钟

char *cfg_key = "serverkey";

char *cfg_log_fname = "./chat.log";
char *cfg_phplog_fname = NULL;

char *cfg_errorlog_fname = "./chat_error.log";

char *cfg_login_slot = "~!@#$%^&*()_+QWERTYUIOP{ASDFGHJKL:}?><MNBVCXZ~!@#$%^&*()_+QWERTYUIOP{ASDFGHJKL:}?><MNBVCXZ";// 加密随机值
int cfg_login_type = 0;// 登录加密类型 0:默认key方式 1:md5 方式 兼容php开头
